package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author youli.chen
 * @ProjectName xbb-pro
 * @Description: 获取PK榜设置入参
 * @date 2019/1/21 11:00
 */
@Setter
@Getter
@ToString
public class ChartSetDetailDTO extends BaseDTO {

    private static final long serialVersionUID = -4805009839309823315L;

    /**
     * 分页当前页
     */
    private Integer page;

    /**
     * 分页每页记录数
     */
    private Integer pageSize;

    /**
     * pk榜名称模糊搜索
     */
    private String nameLike;

    /**
     * 指标类型
     * @see com.xbongbong.pro.statistic.enums.StatisticsTypeEnum
     */
    @NotNull(message="指标类型不能为空")
    private Integer statisticsType;
}
